#!/bin/bash

clear
cd ./src

for gitdir in `find ./ -name .git`;
    do workdir=${gitdir%/*};
		echo;
		echo $workdir;
		git --git-dir=$gitdir --work-tree=$workdir status;
        git --git-dir=$gitdir --work-tree=$workdir rev-parse HEAD
    done
